package com.nkzy.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Article {
    private Integer id; //主键id
    private String title; //文章标题
    private String content; //文章内容
    private String coverImg; //封面图像
    private String state; // 发布状态 已发布 草稿
    private Integer crtegorId;//文章分类ID
    private Integer crtegorUser;//创建人ID
    private LocalDateTime createTime;//
    private LocalDateTime updateTime;



}
